package com.smartcommunity.dao.system;

import com.smartcommunity.entity.system.SysOrgEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 组织机构Dao
 */
@Mapper
public interface SysOrgDao {

    void insertBatch(@Param("list") List<SysOrgEntity> list);

    Integer getOrgIdByCode(String code);

    void updateOrg(SysOrgEntity entity);

    List<String> getOrgCodes();

}
